<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>ZF OpenId Auth Application</title>
	<!-- OpenID Provider Selector -->
	<script type="text/javascript" src="<?php echo $this->baseUrl() ?>/js/jquery-1.3.2.min.js"></script>
	<link rel="stylesheet" href="<?php echo $this->baseUrl() ?>/openid-ps/openid-ps.css" />
	<script type="text/javascript" src="<?php echo $this->baseUrl() ?>/openid-ps/openid-ps-jquery-plugin.js"></script>
	<script type="text/javascript">	    
		$(document).ready(function() {
			// Create jQuery plugin
			$("form.openid-ps").openIdProviderSelector();
		});

	</script>
</head>
<body>

<div>
<?php echo $this->status; ?>
</div>

<br />

<!-- OpenID Provider Selector -->
<form method="post" class="openid-ps" action="">
	<input type="hidden" id="openid_action" name="openid_action" value="login" /><!-- OpenID req. -->
	
	<fieldset>
    	<legend>Sign-in or Create New Account</legend>
    		
    	<div class="selector">
 		    <p>Click your <a href="http://openid.net/what/" target="new">OpenID</a> account provider:</p>
		    <div class="providers">
		    	<div class="large"></div>
		    	<div class="small"></div>
		    </div>
			<div class="username" style="display:none">
				<p></p>
				<table><tbody><tr><td>
						<input type="text" value="" />
					</td><td>
						<input id="submit1" type="submit" value="Sign-in"/>
				</td></tr></tbody></table>
			</div>						
		</div>
			
		<div class="manual">
			<p>Or, manually enter your OpenID URL:</p>
			<table><tbody><tr><td>
					<input id="openid_identifier" name="openid_identifier" type="text" value="http://" /><!-- OpenID req. -->
				</td><td>
					<input id="submit2" type="submit" value="Sign-in" />
			</td></tr></tbody></table>
		</div>
			
		<div class="register">
			Or, if you don't have an OpenID through any of the above, <b><a href="https://www.myopenid.com/signup?affiliate_id=">click here to sign up</a></b>!
		</div>				

		<noscript>
			<p>
				OpenID is service that allows you to log-on to many different websites using a single indentity.
				Find out <a href="http://openid.net/what/">more about OpenID</a> and <a href="http://openid.net/get/">how to get an OpenID enabled account</a>.
			</p>
		</noscript>
	</fieldset>
</form>
<!-- /OpenID Provider Selector -->

</body>
</html>